//    Copyright (C) Kherty.  All rights reserved.

using System.Windows;

namespace OpenLS.Spreadsheet.UI
{
    partial class WindowsClipboard:  ClipboardBase
    {
        internal override void SetRange(Range selection)
        {
            RangeDataObject obj = new RangeDataObject(selection);
            Clipboard.SetDataObject(obj.dataObject, true);
        }
        internal override void SetSelectionAddress(string address)
        {
            DataObject data = new DataObject();
            data.SetData(DragDropFormats.SpreadsheetSelection, address);

        }
    }
}
